package com.panshi.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author :jiege
 * @description :
 * @create :2020-08-04 14:43:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginVo implements Serializable{
    //@Size(min = 6,max = 10,message = "密码在6到十位之间")
    //@NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "用户密码")
    private String password;
    //@Pattern(regexp ="^[1][3,4,5,7,8][0-9]{9}$", message = "请输入正确的手机号码")
    @ApiModelProperty(value = "电话号码")
    private String iphone;

   // @Pattern(regexp ="[1-9]\\d{7,10}@qq.com", message = "请输入正确的邮箱")
    @ApiModelProperty(value = "用户邮箱")
    private String email;

    //@NotBlank
    @ApiModelProperty("短信 邮箱 验证码")
    private String auth;


}
